package com.tanhua.model.mongo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Document(collection = "videoCommentLike")
public class VideoCommentLike implements Serializable {

    private ObjectId id;         //主键
    private ObjectId commentId; //评论的Id
    private Long publishUserId; //发布评论的人的Id
    private Long userId;        //当前登录的用户ID
    private Long created;       //点赞时间
}
